package com.github.jgzl.common.websocket.redis;

/**
 * redis 接收器接口,主要目的是固定接口名字
 *
 * @author lihaifeng
 */
public interface RedisReceiver {
	String RECEIVER_METHOD_NAME = "receiveMessage";
	String REDIS_RECEIVER_NAME = "redisReceiver";

	/**
	 * 回调方法
	 *
	 * @param message 接收到的消息
	 */
	void receiveMessage(String message);
}
